package com.hspedu.spring.service;

import com.hspedu.spring.dao.MemberDAOImpl;

/**
 * @author Charlie
 * @version 1.0
 * @date 30/10/2025 下午10:14
 */
public class MemberServiceImpl {
    public MemberDAOImpl getMemberDAO() {
        return memberDAO;
    }

    public void setMemberDAO(MemberDAOImpl memberDAO) {
        this.memberDAO = memberDAO;
    }

    private MemberDAOImpl memberDAO;

    public void  add(){
        System.out.println("service 的 add方法被调用");
        memberDAO.add();
    }
}
